From: Marco Schuster Date: Mon, 10 Nov 2008 19:59:36 +0000 (+0000) Subject: fix bug 11027: Add parameter to MW:Randompage-nopages so that user can see the namespace. X-Git-Tag: 1.31.0-rc.0~44383 X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=4c2c5b645fca66befda577face98a941c129d905;p=lhc%2Fweb%2Fwiklou.git fix bug 11027: Add parameter to MW:Randompage-nopages so that user can see the namespace. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b45c9c8a5d..028c3ec718 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -201,6 +201,7 @@ The following extensions are migrated into MediaWiki 1.14: * New 'AbortDiffCache' hook can be used to cancel the caching of a diff * (bug 15835) Added Content-Style-Type meta tag * Add class="disambiguationpage" to tag for disambiguations +* (bug 11027) Add parameter to MW:Randompage-nopages so that user can see the namespace. === Bug fixes in 1.14 === diff --git a/includes/specials/SpecialRandompage.php b/includes/specials/SpecialRandompage.php index 0e7ada1d17..f3f6dec2ef 100644 --- a/includes/specials/SpecialRandompage.php +++ b/includes/specials/SpecialRandompage.php @@ -39,7 +39,7 @@ class RandomPage extends SpecialPage { if( is_null( $title ) ) { $this->setHeaders(); - $wgOut->addWikiMsg( strtolower( $this->mName ) . '-nopages' ); + $wgOut->addWikiMsg( strtolower( $this->mName ) . '-nopages', $wgContLang->getNsText( $this->namespace ) ); return; }